Skip to content

Introduce state_key per school#26

Open
tordans wants to merge 1 commit intocodeforberlin:mainfrom
tordans:add_state_key
Open

Introduce state_key per school#26
tordans wants to merge 1 commit intocodeforberlin:mainfrom
tordans:add_state_key

Conversation

@tordans
Copy link
Copy Markdown

@tordans tordans commented Apr 17, 2026

While working on https://github.com/osmberlin/osm-schul-abgleich/ I extract the scraper state code from the ID.
It would be a lot nicer if the state where a field in the data.

This PR and Datenschule/jedeschule-scraper#274 introduce state_key as the string to hold the this string and use it for the new field state_key as well as in the id field.

I had the LLM run the tests and one pipeline to see that this works as described.


This PR is create with LLM support in Cursor.

Validate stored values with parse_state_key_column; update tests and factory.

Made-with: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant